package com.dooioo.fangyou.entity;

/**
 * Created by IntelliJ IDEA.
 * User: kuang
 * Date: 2010-11-30
 * Time: 22:42:49
 * To change this template use File | Settings | File Templates.
 */
public class Pet {
    private Integer id;
    private String name;
    private String birth_date;
    private String type_id;
    private String owner_id;
    private PetType type;

    public PetType getType() {
        return type;
    }

    public void setType(PetType type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBirth_date() {
        return birth_date;
    }

    public void setBirth_date(String birth_date) {
        this.birth_date = birth_date;
    }

    public String getType_id() {
        return type_id;
    }

    public void setType_id(String type_id) {
        this.type_id = type_id;
    }

    public String getOwner_id() {
        return owner_id;
    }

    public void setOwner_id(String owner_id) {
        this.owner_id = owner_id;
    }


    public boolean isNew() {
        return (this.id == null);
    }
}
